﻿using FieldTools.Util;
using MahApps.Metro.Controls;
using System.Windows;
using System.Windows.Controls;

namespace FieldTools.Client.View.Window
{
    /// <summary>
    /// PersonControl.xaml 的交互逻辑
    /// </summary>
    public partial class PersonWindow : MetroWindow, ITransientDependency
    {
        /// <summary>
        /// 是否已打开窗口（定义该静态属性后即表示当前窗口仅能打开一个）
        /// </summary>
        public static bool IsOpened { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public PersonWindow()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            DrawerTop.IsOpen = !DrawerTop.IsOpen;
        }
    }
}
